﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Details.Master" Inherits="System.Web.Mvc.ViewPage<TVXD23.Web.Models.ViewModel.PressDetailsViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%:Model.Press.Title %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="hienthibai">
        <h3>
            <%:Model.Press.Title %></h3>
        <i>
            <%:Model.Press.DateCreate.Value.Date.ToShortDateString()%></i>
        <br />
        <br />
        <%if (Model.Press.ImagePath != null)
          {%>
        <img src="<%:Model.Press.ImagePath %>" alt="" />
        <%
          }%><br />
        <%=Model.Press.Description %>
        <p>
            <%=Model.Press.Body %></p>
        <br />
        <!-- AddThis Button BEGIN -->
        <div class="addthis_toolbox addthis_default_style ">
            <a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2">
            </a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4">
            </a><a class="addthis_button_compact"></a><a class="addthis_counter addthis_bubble_style">
            </a>
        </div>
        <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4dcc1ea7598af57a"></script>
        <!-- AddThis Button END -->
    </div>
    <br />
    <h4>
        Những tin khác :</h4>
    <br />
    <p>
    <ul>
        <%foreach (var item in Model.Presses)
          {%>
      <li><%=Html.PressTitleLinkHtml(item.Title,item.PressId,"vi") %></li>
        <%
      }%>
      </ul>
    </p>
</asp:Content>
